package designPattern.structure7.Adapter.Q2;//package DesigningPattenPIC.structure.Adapter.Q2;
import java.io.*;

public class Main {
    public static void main(String[] args) {
        FileIO f = (FileIO) new FileProperties();
        try {
            f.readFromFile("/home/whcc/Disk1T/AllProjects/whccsvn/code/project/module/japp_DesigningPatten2/src/main/java/designPattern/structure7/Adapter/Q2/file.txt");
            f.setValue("year", "2004");
            f.setValue("month", "4");
            f.setValue("day", "21");
            f.writeToFile("/home/whcc/Disk1T/AllProjects/whccsvn/code/project/module/japp_DesigningPatten2/src/main/java/designPattern/structure7/Adapter/Q2/newfile.txt");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
